The phrase refers to death, taken from a biblical context where the righteous sleep in their graves awaiting their resurrection. All the others are translative interpretations, like a boxed law that eternally awaits approval, or some more literal one about a quiet sleep.
To sleep the dream of the just, is to sleep in peace, because your life is orderly, you have acted ethically, morally, just, so you get to your bed and sleep peacefully because you are a just person, you have no charges of conscience, fear of people, shame of anyone, you sleep in peace. Now it is used in another way, this expression of sleeping the sleep of the righteous, is like just being asleep if you do the things you must do, you are lethargic, you do not react, you are too confident and you run out of time without doing anything because of the overconfidence or you simply do not start doing anything. it's like another expression "you're selling water" you're in something else and not yours.
" sleeping the sleep of the righteous " It is an expression ( 41 Greek origin; that originally it referred to who slept in the form very quiet, because he had no positions of conscience, i.e. someone who as he has led a life ethical, moral, nothing disturbs it. Today, the term applies in another sense, instead of people, applies to things ( eg. a project ) and we want to tell them that they are trancadas, left side, " sleeping " on someone's desk or drawer, or which does not advance. This is sleep in peace and not be worried of something, since you're sleeping so peaceful and with control. Fair are the saints of the old testament. Dead, slept at the hades. Jesus Christ overcame to the death. It fell to the hades and he rose altercer day. Is doctrine Catholic.
" Sleeping the sleep of the righteous " It is an expression ( 41 Greek-born; that originally referred to who slept in the form very quiet because he had no positions of conscience, or someone that it has been a life ethical, moral, nothing it disturbs.Today, the term applies in another sense, rather than people, applies to things ( eg. a project ) and to say of them that are trancadas, left side, " sleeping " in the drawer or desktop from someone, or that is not moving.